package com.leyuangame.dao.repository.jpa;

import com.leyuangame.core.model.PlayUserSafeLog;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PlayUserSafeLogRepository extends JpaRepository<PlayUserSafeLog,String> {
    List<PlayUserSafeLog> findPlayUserSafeLogsByUseridOrderByAddtimeDesc(String userid);

    List<PlayUserSafeLog> findPlayUserSafeLogsByUseridAndTypeOrderByAddtimeDesc(String userid,int type);
}
